package com.ruoyi.framework.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "openvpn")
public class OpenVpnProperties {

   private String configPath;
   private String isOKPath;
   private String disconnectPath;
   private String clientOpenVpnPath;

    public OpenVpnProperties(String configPath, String isOKPath, String disconnectPath, String clientOpenVpnPath) {
        this.configPath = configPath;
        this.isOKPath = isOKPath;
        this.disconnectPath = disconnectPath;
        this.clientOpenVpnPath = clientOpenVpnPath;
    }

    public OpenVpnProperties() {
    }

    public String getConfigPath() {
        return configPath;
    }

    public void setConfigPath(String configPath) {
        this.configPath = configPath;
    }

    public String getIsOKPath() {
        return isOKPath;
    }

    public void setIsOKPath(String isOKPath) {
        this.isOKPath = isOKPath;
    }

    public String getDisconnectPath() {
        return disconnectPath;
    }

    public void setDisconnectPath(String disconnectPath) {
        this.disconnectPath = disconnectPath;
    }

    public String getClientOpenVpnPath() {
        return clientOpenVpnPath;
    }

    public void setClientOpenVpnPath(String clientOpenVpnPath) {
        this.clientOpenVpnPath = clientOpenVpnPath;
    }

    @Override
    public String toString() {
        return "OpenVpnProperties{" +
                "configPath='" + configPath + '\'' +
                ", isOKPath='" + isOKPath + '\'' +
                ", disconnectPath='" + disconnectPath + '\'' +
                ", clientOpenVpnPath='" + clientOpenVpnPath + '\'' +
                '}';
    }
}
